package com.funsport.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
@Schema(description = "创建/更新俱乐部请求")
public class CreateClubRequest {
    @Schema(description = "俱乐部ID（更新时必填）")
    private Long id;
    
    @NotBlank(message = "俱乐部名称不能为空")
    @Schema(description = "俱乐部名称", required = true)
    private String name;
    
    @Schema(description = "俱乐部描述")
    private String description;
    
    @Schema(description = "俱乐部头像")
    private String avatar;
    
    @Schema(description = "封面图片")
    private String coverImage;
    
    @Schema(description = "支持的运动类型")
    private String sportTypes;
    
    @Schema(description = "最大成员数")
    private Integer maxMembers;
    
    @Schema(description = "城市")
    private String city;
    
    @Schema(description = "区域")
    private String district;
    
    @Schema(description = "是否公开")
    private Boolean isPublic;
    
    @Schema(description = "加入是否需要审核")
    private Boolean needApproval;
}
